<template>
  <div class="con">
    <my-header></my-header>
    <my-content></my-content>
  </div>
</template>
<script setup lang="ts">
import MyHeader from '@/components/my-header/indexView.vue'
import MyContent from '@/components/my-content/indexView.vue'
import { onMounted } from 'vue';
import autofit from 'autofit.js'

onMounted(() => {
  autofit.init({
    dh: 1024,
    dw: 1920,
    el: "body",
    resize: true
  })
})
</script>
<style lang="scss">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

.con {
  background: url(./assets/images/bg.jpg) 100% 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
</style>